package com.bdqn.ch07.service;

import com.bdqn.ch07.pojo.SysUser;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
* @author Administrator
* @description 针对表【sys_user】的数据库操作Service
* @createDate 2024-09-13 19:20:03
*/
public interface SysUserService {
    SysUser login (String usrName , String usrPassword);
    void saveUser(SysUser user);
    void deleteUser(Long usrId);
    SysUser getUser(Long usrId);
    Page<SysUser>findUsers(String usrName , Long roleId , Pageable pageable);
}
